/**     
 * @{#} LifeEvent.java Create on 2011-7-21 下午10:57:26     
 *     
 * Copyright (c) 2011 by xiaofeng.zhouxf     
 */
package com.sefer.memcached.lifecycle;

import com.sefer.memcached.command.Command;
import com.sefer.memcached.constants.LifeEventInfo;

/**
 * @author <a href="mailto:xiaofeng.zhouxf83@gmail.com">xiaofeng.zhouxf</a>
 * @version 1.0
 */
public final class LifeEvent {

	private LifeEventInfo eventInfo;
	private Command command;

	public LifeEvent() {
		super();
	}

	public LifeEvent(LifeEventInfo eventInfo, Command command) {
		super();
		this.eventInfo = eventInfo;
		this.command = command;
	}

	public LifeEventInfo getEventInfo() {
		return eventInfo;
	}

	public void setEventInfo(LifeEventInfo eventInfo) {
		this.eventInfo = eventInfo;
	}

	public Command getCommand() {
		return command;
	}

	public void setCommand(Command command) {
		this.command = command;
	}

}
